home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
extra
/
pro13
/
gettime.c
< prev
next >
Wrap
Text File
|
1993-02-01
|
256b
|
18 lines
/*
gettime.C
Copyright (C) 1993, Geoff Friesen B.Sc.
All rights reserved.
*/
#define INCL_GETTIME
void gettime (struct time *timep)
{
asm mov ah, 2ch
asm int 21h
asm mov bx, timep
asm mov [bx], cx
asm mov [bx+2], dx
}